<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>查看检查项</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../static/css/style.css" th:href="@{/css/style.css}"/>
</head>
<body>
<div th:replace="~{common/layout :: header}"></div>
<div th:replace="~{common/layout :: sidebar}"></div>
<div class="container mt-5">
    <h1 class="mb-4">查看检查项</h1>
    <table class="table table-bordered">
        <tr>
            <th>检查项名称</th>
            <td th:text="${checkitem.ciName}"></td>
        </tr>
        <tr>
            <th>检查项内容</th>
            <td th:text="${checkitem.ciContent}"></td>
        </tr>
        <tr>
            <th>意义</th>
            <td th:text="${checkitem.meaning}"></td>
        </tr>
        <tr>
            <th>备注</th>
            <td th:text="${checkitem.remarks}"></td>
        </tr>
    </table>
    <h2 class="mt-4">详细信息</h2>
    <table class="table table-bordered">
        <tr>
            <th>名称</th>
            <td th:text="${checkitemDetailed.name}"></td>
        </tr>
        <tr>
            <th>单位</th>
            <td th:text="${checkitemDetailed.unit}"></td>
        </tr>
        <tr>
            <th>最小范围</th>
            <td th:text="${checkitemDetailed.minrange}"></td>
        </tr>
        <tr>
            <th>最大范围</th>
            <td th:text="${checkitemDetailed.maxrange}"></td>
        </tr>
        <tr>
            <th>正常值</th>
            <td th:text="${checkitemDetailed.normalValue}"></td>
        </tr>
        <tr>
            <th>正常值字符串</th>
            <td th:text="${checkitemDetailed.normalValueString}"></td>
        </tr>
        <tr>
            <th>类型</th>
            <td th:text="${checkitemDetailed.type}"></td>
        </tr>
        <tr>
            <th>备注</th>
            <td th:text="${checkitemDetailed.remarks}"></td>
        </tr>
    </table>
    <a href="/checkitems" class="btn btn-default">返回列表</a>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
